x86/msr: Rename the msr policy objects
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Jul 2018 15:25:39 +0000 (15:25 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 9 Jul 2018 13:02:58 +0000 (14:02 +0100)
commit139a84f9ae85bad79527b930b7aef77195cdd3ec
tree45a72aa7bcc9339432bab3176cc06eaa92aaba63
parent298253b676a86ccdbc9b1a5f2bfe31dc6d7dd327
x86/msr: Rename the msr policy objects

After attempting to develop the infrastructure, it turns out that the choice
of naming is suboptimal.

Rename msr_domain_policy to just msr_policy to mirror the CPUID side of
things, and alter the 'dp' variable name convention to 'mp'.  While altering
all the names, export all of the system msr_policy objects (which are already
global symbols).

Rename msr_vcpu_policy to vcpu_msrs and switch 'vp' to 'msrs' in code.  Update
the arch_vcpu field name to match.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
13 files changed:
xen/arch/x86/cpu/common.c
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/entry.S
xen/arch/x86/hvm/vmx/entry.S
xen/arch/x86/msr.c
xen/arch/x86/pv/emul-inv-op.c
xen/arch/x86/x86_64/asm-offsets.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/domain.h
xen/include/asm-x86/msr.h
xen/include/asm-x86/spec_ctrl_asm.h